<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<app-autocomplete 
    :data="data"
    :disabled="detailsModel.${editor.name}.disabled" 
    name='${editor.name}'
    :context="context"
    :viewparams="viewparams"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
    deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
    deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
    :localContext =<@getNavigateContext editor />
    :localParam =<@getNavigateParams editor />
    :service="service"
<#if editor.getPSAppDEACMode?? && editor.getPSAppDEACMode()??>
  <#if editor.getPSAppDEACMode().getMinorSortPSDEF?? && editor.getPSAppDEACMode().getMinorSortPSDEF()?? && editor.getPSAppDEACMode().getMinorSortDir?? && editor.getPSAppDEACMode().getMinorSortDir()??>
  <#if editor.getPSAppDEACMode().getMinorSortDir() == 'ASC' || editor.getPSAppDEACMode().getMinorSortDir() == 'DESC'>
  sort='${editor.getPSAppDEACMode().getMinorSortPSDEF().getCodeName()?lower_case},${editor.getPSAppDEACMode().getMinorSortDir()?lower_case}'
  </#if>
  </#if>
</#if>
    :acParams=<@getAcParams editor />
    valueitem='${item.getValueItemName()}' 
    :value="data.${editor.name}" 
    @formitemvaluechange="onFormItemValueChange($event)"
    style="${editor.getEditorCssStyle()}">
</app-autocomplete>